package cn.asterly.cicada.mapper.newbase;

import cn.asterly.cicada.model.Picture;

import java.util.List;

public interface PictureMapper {
    int deleteByPrimaryKey(String id);

    int deleteByPrimaryKeys(String[] id);

    int insert(Picture record);

    int insertSelective(Picture record);

    Picture selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Picture record);

    int updateByPrimaryKey(Picture record);

    List<Picture> selectByAll(int curentPage, int pageSize);
}